<template>
  <div class="padding" style="margin-left:-16px;width:101.51%">
    <el-card>
      <div slot="header" class="clearfix relative">
        <span class="title-icon">发票信息</span>
      </div>
      <el-row :gutter="2">
        <el-col :span="24">
          <el-table ref="filterTable" :data="tableData" style="width: 100%">
            <el-table-column
              prop="declareNameEn"
              label="英文品名"
            ></el-table-column>
            <el-table-column
              prop="declareNameCn"
              label="中文品名"
            ></el-table-column>
            <el-table-column prop="brand" label="品牌"></el-table-column>
            <el-table-column prop="material" label="材质"></el-table-column>
            <el-table-column prop="purpose" label="用途"></el-table-column>
            <el-table-column
              prop="customsCode"
              label="海关编码"
            ></el-table-column>
            <el-table-column prop="num" label="个数"></el-table-column>
            <el-table-column
              prop="declareValue"
              label="申报单价"
            ></el-table-column>
            <el-table-column prop="imgUrl" label="图片">
              <template slot-scope="scope">
                <el-image :src="scope.row.imgUrl"></el-image>
              </template>
            </el-table-column>
          </el-table>
        </el-col>
      </el-row>
    </el-card>
  </div>
</template>

<script>
import { ajax } from "@/store/yg/common/utils";
import axios from "axios";
import * as constant from "@/store/yg/common/constant";

export default {
  props: {
    pageType: {
      type: String,
      required: true
    },
    tableData: {
      type: Array,
      default: function(params) {
        return [];
      }
    }
  },
  data() {
    return {};
  },
  mounted() {},
  methods: {}
};
</script>

<style></style>
